<?php
	include_once 'isLogin.php';
	$order_id = $_GET['id'];
	
	$orderc = new order($pagec);
	
	$sql = ' AND o.id = "' . $order_id . '"';
	$row = $orderc->orderInfo($sql , 'o.*');

	//退款信息
	if($row['pay_status'] == '4'){
		$refund = $orderc->refundInfo($order_id , '*' , 'order_id');
		$row['refund'] = $refund;
	}
	$smarty->assign('row',$row);
	
	$smarty->display($_filename.".html");
	
?>